<?php

/**
 * Harmonogram
 *  
 * @author Radovan Dvorsky
 * @version 20100604
 */

require_once 'Zend/Db/Table/Abstract.php';

class Db_DbTable_Harmonogram extends Zend_Db_Table_Abstract {
	/**
	 * The default table name 
	 */
	protected $_name = 'harmonogram';
	
	/**
	 * Primary key
	 */
	protected $_primary = 'hid';
	
	
	/**
	 * Zavisle tabulky
	 */
	protected $_dependentTables = array('Db_DbTable_HarmonogramStudent');	
	
	/**
	 * Parrent tables description 
	 */
	protected $_referenceMap = array(
		'Commission' => array(
			'columns' => array('cid'),
			'refTableClass' => 'Db_DbTable_Commission',
			'refColumns' => array('cid'),
			'onDelete' => self::CASCADE
		)		
	);
}